﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {

            Type type = typeof(SysParameterTypeEnum);


            foreach (FieldInfo x in type.GetFields(BindingFlags.Public | BindingFlags.Static))
            {
                SysParameterTypeEnum item = (SysParameterTypeEnum)x.GetValue(null);
                Console.WriteLine((int)item);
            }


        }
    }


    public enum SysParameterTypeEnum : int
    {
        /// <summary>
        /// 小区图类型(小区环境、门头，规划图、车库和栋座图等）
        /// </summary>
        [EnumMember]
        [Description("小区图类型(小区环境、门头，规划图、车库和栋座图等）")]
        EstatePhotoType = 1,

        /// <summary>
        /// 室内图类型(卧室、厨房、客厅、卫生间)
        /// </summary>
        [EnumMember]
        [Description("室内图类型(卧室、厨房、客厅、卫生间)")]
        PropertyPhotoType = 2,

        /// <summary>
        /// 物业用途（住宅、商业）
        /// </summary>
        [EnumMember]
        [Description("物业用途（住宅、商业）")]
        PropertyUsage = 3,

        /// <summary>
        /// 建筑类型|建筑类型（开间、平层）
        /// </summary>
        [EnumMember]
        [Description("建筑类型|建筑类型（开间、平层）")]
        PropertyType = 4,

        /// <summary>
        /// 房屋结构（框架、砖混、钢混）
        /// </summary>
        [EnumMember]
        [Description("房屋结构（框架、砖混、钢混）")]
        PropertyFrameWork = 5,

        /// <summary>
        /// 土地级别（一级、二级、三级、四级）
        /// </summary>
        [EnumMember]
        [Description("土地级别（一级、二级、三级、四级）")]
        LandGrade = 6,

        /// <summary>
        /// 房号规则（字母、数字任意组合；字母、数字、字符任意组合；楼层(2位)+房间号(2位数字)；）
        /// </summary>
        [EnumMember]
        [Description("房号规则（字母、数字任意组合；字母、数字、字符任意组合；楼层(2位)+房间号(2位数字)；）")]
        RoomNoRule = 7,

        /// <summary>
        /// 朝向
        /// </summary>
        [EnumMember]
        [Description("朝向")]
        HouseDirection = 8,

        /// <summary>
        /// 经纬度坐标类型（百度，google，业务等）
        /// </summary>
        [EnumMember]
        [Description("经纬度坐标类型（百度，google，业务等）")]
        CoordinatesType = 9,

        /// <summary>
        /// 证件类型（身份证，军官证，护照，驾驶证等）
        /// </summary>
        [EnumMember]
        [Description("证件类型（身份证，军官证，护照，驾驶证等）")]
        CertificateType = 10,

        /// <summary>
        /// 教育阶段(学校类型)
        /// </summary>
        [EnumMember]
        [Description("教育阶段（幼儿园，小学，中学，高中，大学等）")]
        EducationPhase = 11,

        /// <summary>
        /// 教育机构性质(公/私)
        /// </summary>
        [EnumMember]
        [Description("教育机构性质（公立，私立等）")]
        EducationNature = 12,

        /// <summary>
        /// 教育机构级别(学校等级)
        /// </summary>
        [EnumMember]
        [Description("教育机构级别（市重点，区重点，普通等）")]
        EducationLevel = 13,

        /// <summary>
        /// 休闲设施类型
        /// </summary>
        [EnumMember]
        [Description("休闲设施类型")]
        LeisureFacilityType = 14,

        /// <summary>
        /// 生活设施类型
        /// </summary>
        [EnumMember]
        [Description("生活设施类型")]
        LivingFacilityType = 15,

        /// <summary>
        /// 医疗机构级别
        /// </summary>
        [EnumMember]
        [Description("医疗机构级别")]
        MedicalLevel = 16,

        /// <summary>
        /// 自然设施类型
        /// </summary>
        [EnumMember]
        [Description("自然设施类型")]
        NatureFacilityType = 17,

        /// <summary>
        /// 交通设施类型（公交，地铁，环路，机场，高速，主干道等）
        /// </summary>
        [EnumMember]
        [Description("交通设施类型（公交，地铁，环路，机场，高速，主干道等）")]
        TransportationType = 18,

        /// <summary>
        /// 交易类型(出租、出售)
        /// </summary>
        [EnumMember]
        [Description("交易类型(出租、出售)")]
        TradeType = 19,

        /// <summary>
        /// 委托类型(出租、出售、租售)
        /// </summary>
        [EnumMember]
        [Description("委托类型(出租、出售、租售)")]
        TrustType = 20,

        /// <summary>
        /// 委托人类型（业主、业主关系人、中介人、客户、转租户）
        /// </summary>
        [EnumMember]
        [Description("委托人类型（业主、业主关系人、中介人、客户、转租户、选择业主）")]
        TrustorType = 21,

        /// <summary>
        /// 房源来源（安居客、搜房、新浪、58同城、驻守、上门、电话来访、其他）
        /// </summary>
        [EnumMember]
        [Description("房源来源（安居客、搜房、新浪、58同城、驻守、上门、电话来访、其他）")]
        PropertySource = 22,

        /// <summary>
        /// 性别(先生、女士)
        /// </summary>
        [EnumMember]
        [Description("性别(先生、女士)")]
        Gender = 23,

        /// <summary>
        /// 房屋现状:空房、业主住、租客住、朋友住、中介已收购，压房等
        /// </summary>
        [EnumMember]
        [Description("房屋现状")]
        PropertySituation = 24,

        /// <summary>
        /// 房型:一居、两居、三居、四居、五居、五居以上
        /// Item规则:=1，>5
        /// </summary>
        [EnumMember]
        [Description("房型")]
        HouseType = 25,

        /// <summary>
        /// 楼层:地下、1层、6层以下、6-12层、12层以上、顶层
        /// Item规则:<=0,=1,<6,>=6|<=12,>12,Top
        /// </summary>
        [EnumMember]
        [Description("楼层")]
        HouseFloor = 26,

        /// <summary>
        /// 房源标签:产权满五年、业主唯一住房、急售房
        /// Item规则:对应数据库中字段名
        /// </summary>
        [EnumMember]
        [Description("房源标签")]
        PropertyTag = 27,

        /// <summary>
        /// 房源贡献:独家、上钱委托、钥匙、实勘、免扰
        /// Item规则:对应数据库中字段名
        /// </summary>
        [EnumMember]
        [Description("房源贡献")]
        PropertyContribution = 28,

        /// <summary>
        /// 房源跟进类型:房源清洗、新增业主电话、申请转盘、经理点评
        /// Item规则:系统中有枚举值对应
        /// </summary>
        [EnumMember]
        [Description("房源跟进类型")]
        PropertyFollowType = 29,

        /// <summary>
        /// 车位类型:无车位、地下车位、地上车位
        /// </summary>
        [EnumMember]
        [Description("车位类型")]
        ParkingType = 30,

        /// <summary>
        /// 房源出售原因:置换、急用钱、孩子上学、工作调动、移民、其他
        /// </summary>
        [EnumMember]
        [Description("房源出售原因")]
        PropertySaleReason = 31,

        /// <summary>
        /// 租赁方式:整租、合租、短租
        /// </summary>
        [EnumMember]
        [Description("租赁方式")]
        PropertyRentType = 32,

        /// <summary>
        /// 出租支付类型:押一付三、押一付二、押一付一、半年付、年付、面议
        /// </summary>
        [EnumMember]
        [Description("出租支付类型")]
        PropertyRentPaymentType = 33,

        /// <summary>
        /// 出租详情:限男生、限女生、限夫妻
        /// </summary>
        [EnumMember]
        [Description("出租详情")]
        PropertyRentLimit = 34,

        /// <summary>
        /// 房源查询日期类型:委托日期、最后跟进日期、登记日期、发布广告日期
        /// Item规则:存储对应的数据库表列名
        /// </summary>
        [EnumMember]
        [Description("房源查询日期类型")]
        PropertyDateType = 35,

        /// <summary>
        /// 家用电器类型:电冰箱、洗衣机、电磁炉、消毒柜、电脑、空调、DVD、电视机、微波炉、热水器
        /// </summary>
        [EnumMember]
        [Description("家用电器类型")]
        ElectricType = 36,

        /// <summary>
        /// 家具类型:衣柜、书桌、沙发、床、餐桌、椅子、床垫、茶几
        /// </summary>
        [EnumMember]
        [Description("家具类型")]
        FurnitureType = 37,

        /// <summary>
        /// 装修情况:豪装、精装、中装、简装、毛坯
        /// </summary>
        [EnumMember]
        [Description("装修情况")]
        DecorationSituation = 38,

        /// <summary>
        /// 我的房源贡献:我的独家、我的上钱委托、我的钥匙、我的实勘
        /// Item规则:对应数据库中字段名
        /// </summary>
        [EnumMember]
        [Description("我的房源贡献")]
        MyPropertyContribution = 39,

        /// <summary>
        /// 看房类型(看租、看售、看租售)
        /// </summary>
        [EnumMember]
        [Description("看房类型(看租、看售、看租售)")]
        SeePropertyType = 40,

        /// <summary>
        /// 客户联系人类型(客户、客户关系人)
        /// </summary>
        [EnumMember]
        [Description("客户联系人类型(客户、客户关系人)")]
        CustomerContactType = 41,

        /// <summary>
        /// 省份名称
        /// </summary>
        [EnumMember]
        [Description("省份名称")]
        Province = 42,

        /// <summary>
        /// 工作类型(政府机关、金融证券...)
        /// </summary>
        [EnumMember]
        [Description("工作类型(政府机关、金融证券...)")]
        WorkType = 43,

        /// <summary>
        /// 贷款状态，包含：有贷款、无贷款
        /// </summary>
        [EnumMember]
        [Description("贷款状态，包含：有贷款、无贷款")]
        CreditStatus = 44,

        /// <summary>
        /// 客源交易类型（求购、求租、租购）
        /// </summary>
        [EnumMember]
        [Description("客源交易类型（求购、求租、租购")]
        InquiryTradeType = 45,

        /// <summary>
        /// 购房原因（单身居住、结婚用房、改善居住环境、子女上学、工作就近、交通便利、养老、出租、自住兼投资、投资抄卖）
        /// </summary>
        [EnumMember]
        [Description("购房原因（单身居住、结婚用房、改善居住环境、子女上学、工作就近、交通便利、养老、出租、自住兼投资、投资抄卖）")]
        BuyReason = 46,

        /// <summary>
        /// 紧迫度（一个月内、三个月内、半年内）
        /// </summary>
        [EnumMember]
        [Description("紧迫度（一个月内、三个月内、半年内）")]
        Emergency = 47,

        /// <summary>
        /// 付佣方式（不付佣、半个月、一个月、商议）
        /// </summary>
        [EnumMember]
        [Description("付佣方式（不付佣、半个月、一个月、商议）")]
        PayCommissionType = 48,

        /// <summary>
        /// 买房付款方式（全款、贷款）
        /// </summary>
        [EnumMember]
        [Description("买房付款方式（全款、贷款）")]
        InquiryPaymentType = 49,

        /// <summary>
        /// 客源来源（400电话、外网委托、搜房网、安居客、焦点、58同城、新浪网、赶集网、上门客户、切户/驻守、转接客、其他）
        /// </summary>
        [EnumMember]
        [Description("客源来源（400电话、外网委托、搜房网、安居客、焦点、58同城、新浪网、赶集网、上门客户、切户/驻守、转接客、其他）")]
        InquirySource = 50,

        /// <summary>
        /// 客户特征（首次置业者、投资炒家、常年工作流动人士、单人工作丁克家庭、双人工作丁克家庭）
        /// </summary>
        [EnumMember]
        [Description("客户特征（首次置业者、投资炒家、常年工作流动人士、单人工作丁克家庭、双人工作丁克家庭）")]
        InquiryFeature = 51,

        /// <summary>
        /// 客户状态（有效、预定、已购、已租、暂缓、无效）
        /// </summary>
        [EnumMember]
        [Description("客户状态（有效、预定、已购、已租、暂缓、无效）")]
        InquiryStatus = 52,

        /// <summary>
        /// 产权性质（商品房、已购公有住房、向社会公开销售的经济适用房、按经济适用住房管理的房屋、其他房源）
        /// </summary>
        [EnumMember]
        [Description("产权性质（商品房、已购公有住房、向社会公开销售的经济适用房、按经济适用住房管理的房屋、其他房源）")]
        PropertyRightNature = 53,

        /// <summary>
        /// 默认个人搜索条件数量 3个
        /// </summary>
        [EnumMember]
        [Description("默认个人搜索条件数量")]
        SearchCriteria = 54,

        /// <summary>
        /// 户型（直门独、中独、偏独、田字格、开间、H户型、两室夹厅、刀把偏单、扁担偏单、开门偏单、假H户型、中单、双阳、其他）
        /// </summary>
        [EnumMember]
        [Description("户型")]
        RoomType = 55,

        /// <summary>
        /// 户型图
        /// </summary>
        [EnumMember]
        [Description("户型图")]
        RoomTypePhoto = 56,

        /// <summary>
        /// 客源等级（A类带看3次以上、B类带看2次、C类带看1次、D类未带看）
        /// </summary>
        [EnumMember]
        [Description("客源等级")]
        InquiryLevel = 57,

        /// <summary>
        /// 客源标签（满5年、唯一）
        /// Item规则:对应数据库中字段名
        /// </summary>
        [EnumMember]
        [Description("客源标签")]
        InquiryTag = 58,

        /// <summary>
        /// 居住人口（单身、夫妻、一家三口、3人以上）
        /// </summary>
        [EnumMember]
        [Description("居住人口")]
        FamilySize = 59,

        /// <summary>
        /// 客源跟进类型:录入约看 录入带看 意向金 议价谈判 过户 客户需求 信息补充 转客 转为公客 
        /// 电话无效 客户没意向 转为私客
        /// ItemValue规则：1-全部客源，2-公客池,3-全部客源+公客池
        /// FlagDefault规则：1-有业务逻辑，必选项，2-没有业务逻辑，可选项
        /// </summary>
        [EnumMember]
        [Description("客源跟进类型")]
        InquiryFollowType = 60,

        /// <summary>
        /// 房源计算标签:72小时新增房、30天租约到期房
        /// Item规则:对应数据库中字段名
        /// </summary>
        [EnumMember]
        [Description("房源计算标签")]
        PropertyCalcTag = 61,

        /// <summary>
        /// 客源计算标签:72小时跟进到期客、30天租房到期客
        /// Item规则:对应数据库中字段名
        /// </summary>
        [EnumMember]
        [Description("客源计算标签")]
        InquiryCalcTag = 62,

        /// <summary>
        /// 角色类型:
        /// Item规则:对应数据库中字段名
        /// </summary>
        [EnumMember]
        [Description("角色类型")]
        RoleType = 63,

        /// <summary>
        /// 房源常用跟进:
        /// Item规则:对应数据库中字段名
        /// </summary>
        [EnumMember]
        [Description("房源常用跟进")]
        PropertyFollowTemplate = 64,

        /// <summary>
        /// 方便看房时间:时间不限、周一到周五 、周六日、提前预约
        /// </summary>
        [EnumMember]
        [Description("方便看房时间")]
        LookPropertyTime = 65,

        /// <summary>
        /// 通盘房源-跟进
        /// </summary>
        [EnumMember]
        [Description("通盘房源-跟进")]
        AllPropertyFollow = 66,

        /// <summary>
        /// 公盘池-跟进
        /// </summary>
        [EnumMember]
        [Description("公盘池-跟进")]
        PublicPropertyFollow = 67,

        /// <summary>
        /// 推荐房源-跟进
        /// </summary>
        [EnumMember]
        [Description("推荐房源-跟进")]
        RecommendPropertyFollow = 68,

        /// <summary>
        /// 我的推荐-跟进
        /// </summary>
        [EnumMember]
        [Description("我的推荐-跟进")]
        MyRecommendPropertyFollow = 69,

        /// <summary>
        /// 房源贡献-跟进
        /// </summary>
        [EnumMember]
        [Description("房源贡献-跟进")]
        ContributePropertyFollow = 70,

        /// <summary>
        /// 我的收藏-跟进
        /// </summary>
        [EnumMember]
        [Description("我的收藏-跟进")]
        FavoritePropertyFollow = 71,

        /// <summary>
        /// 我的楼主盘-跟进
        /// </summary>
        [EnumMember]
        [Description("我的楼主盘-跟进")]
        ResponsiblePropertyFollow = 72,

        /// <summary>
        /// 全部客源-跟进
        /// </summary>
        [EnumMember]
        [Description("全部客源-跟进")]
        AllInquiryFollow = 73,

        /// <summary>
        /// 公客池-跟进
        /// </summary>
        [EnumMember]
        [Description("公客池-跟进")]
        PublicInquiryFollow = 74,

        /// <summary>
        /// 房源状态分类
        /// 1-有效，2-暂缓，3-预定，4-无效
        /// </summary>
        [EnumMember]
        [Description("房源状态分类")]
        PropertyStatusCategory = 75,

        /// <summary>
        /// 端口配置
        /// </summary>
        [EnumMember]
        [Description("端口配置")]
        Channel = 76,

        /// <summary>
        /// 中原区域类型
        /// </summary>
        [EnumMember]
        [Description("中原区域类型")]
        RegionType = 77,

        /// <summary>
        /// 楼盘标签类型：地标，大楼盘
        /// </summary>
        [EnumMember]
        [Description("楼盘标签类型")]
        EstateTagType = 78,

        /// <summary>
        /// 房源产证信息
        /// </summary>
        [EnumMember]
        [Description("房源产证信息")]
        PropertyCard = 79,

        /// <summary>
        /// 栋座类型：住宅，商铺，写字楼，车位
        /// </summary>
        [EnumMember]
        [Description("栋座类型")]
        BuildingType = 80,

        /// <summary>
        /// 楼盘类型：右手原则小区，实际门牌小区
        /// </summary>
        [EnumMember]
        [Description("楼盘类型")]
        EstateStatus = 81,

        /// <summary>
        /// 栋座图类型(门牌、邮箱等）
        /// </summary>
        [EnumMember]
        [Description("栋座图类型(门牌、邮箱等）")]
        BuildingPhotoType = 82,

        /// <summary>
        /// 房源状态
        /// 数据存储：PropertyStatus表
        /// </summary>
        [EnumMember]
        [Description("房源状态")]
        PropertyStatus = 83,

        /// <summary>
        /// 业绩声明（圈盘、钥匙、转介、成交、合作、其他）
        /// </summary>
        [EnumMember]
        [Description("业绩声明")]
        Performance = 84,
        /// <summary>
        /// 系统开关
        /// </summary>
        [EnumMember]
        [Description("系统开关")]
        SystemOnOff = 98,
        /// <summary>
        /// 外部资源
        /// </summary>
        [EnumMember]
        [Description("外部资源")]
        ExternalResource = 99,

        /// <summary>
        /// 系统配置
        /// 房源推荐策略枚举:ItemNo[10],ItemValue[PropertyRecommendPolicyEnum:1-单一推荐，2-重复推荐]
        /// </summary>
        [EnumMember]
        [Description("系统配置")]
        SystemConfig = 100,

        /// <summary>
        /// 功能模块
        /// </summary>
        [EnumMember]
        [Description("功能模块")]
        FunctionModule = 101,

        /// <summary>
        /// 操作项
        /// </summary>
        [EnumMember]
        [Description("操作项")]
        OperationItem = 102,

        /// <summary>
        /// 操作类型
        /// </summary>
        [EnumMember]
        [Description("操作类型")]
        OperationType = 103,

        /// <summary>
        /// 房源广告标题
        /// </summary>
        [EnumMember]
        [Description("房源广告标题")]
        AdvertTitle = 105,
        /// <summary>
        /// 房源广告关键字
        /// </summary>
        [EnumMember]
        [Description("房源广告关键字")]
        AdvertKeyWord = 106,

        /// <summary>
        /// 房源属性
        /// </summary>
        [EnumMember]
        [Description("房源属性：主卧朝南、客厅朝南、两房朝南等")]
        PropertyAttribute = 107,

        /// <summary>
        /// 房源审核状态
        /// </summary>
        [EnumMember]
        [Description("房源审核状态：虚假房源 真实房源 质疑房源等")]
        ProAuditStatus = 108,

        /// <summary>
        /// 住宅类型
        /// </summary>
        [EnumMember]
        [Description("住宅类型：住宅 非住宅")]
        DwellingType = 109,

        /// <summary>
        /// 住宅子类型
        /// </summary>
        [EnumMember]
        [Description("住宅子类型：xxxxx")]
        DwellingSubType = 110,

        /// <summary>
        /// 业务设置功能模块
        /// </summary>
        [EnumMember]
        [Description("业务设置功能模块")]
        SettingFunctionModule = 111,

        /// <summary>
        /// 业务设置操作类型
        /// </summary>
        [EnumMember]
        [Description("业务设置操作类型")]
        SettingOperationType = 112,

        /// <summary>
        /// 实勘保护期
        /// </summary>
        [EnumMember]
        [Description("实勘保护期")]
        RealSurveyProtectDeadline = 113,

        /// <summary>
        /// 行家成交
        /// </summary>
        [EnumMember]
        [Description("行家成交")]
        ExpertTransaction = 114,

        /// <summary>
        /// 其它设施
        /// </summary>
        [EnumMember]
        [Description("其它设施")]
        OtherFacilities = 115,

        /// <summary>
        /// 行家楼盘
        /// </summary>
        [EnumMember]
        [Description("行家楼盘")]
        ExpertEstate = 116,

        /// <summary>
        /// 学校图片
        /// </summary>
        [EnumMember]
        [Description("学校图片")]
        SchoolPhoto = 117,

        #region add xp 2017-03-23
        // <summary>
        /// 洗客池显示客源数量
        /// </summary>
        [EnumMember]
        [Description("洗客池数量")]
        WashInquiryQuantity = 118,

        /// <summary>
        /// 洗客池中客源释放的期限
        /// </summary>
        [EnumMember]
        [Description("洗客池期限")]
        WashInquiryDeadline = 119,

        /// <summary>
        /// 客源常用跟进
        /// </summary>
        [EnumMember]
        [Description("客源常用跟进")]
        InquiryFollowTelplate = 120,
        #endregion

        [EnumMember]
        [Description("策略配置")]
        SysPolicyConfiguration = 121,

        /// <summary>
        /// 委托书图片类型
        /// </summary>
        [EnumMember]
        [Description("委托书图片类型")]
        SysTrustRecordsPhotoType = 122,

        /// <summary>
        /// 房源视频
        /// </summary>
        [EnumMember]
        [Description("房源视频")]
        PropertyVideo = 130,

        /// <summary>
        /// 渠道聊天证据图
        /// </summary>
        [EnumMember]
        [Description("渠道聊天证据图")]
        ChannelInquiryPhotos = 140,

        /// <summary>
        /// 客源只读标签
        /// </summary>
        [EnumMember]
        [Description("客源只读标签")]
        InquiryReadOnlyTag = 150,
    }
}
